﻿using DAO.BaseDAO;
using DTO.BaseDTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAO.DAOService
{
    public class AddressDAOService
    {
        static RealAddressDAO dao = new RealAddressDAO();

        public static ProvinceDTO InsertProvince(String provinceName) {
            ProvinceDTO province = new ProvinceDTO();
            province.ProvinceName = provinceName;

            dao.InsertProvine(ref province);
            return province;
        }
    }
}
